package com.uum.admin.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.uum.admin.mapper.SysWebVisitMapper;
import com.uum.admin.pojo.entity.SysWebVisit;
import com.uum.admin.service.SysWebVisitService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author Tsang_yc
 * @since 2022-05-26
 */
@Service
public class SysWebVisitServiceImpl extends ServiceImpl<SysWebVisitMapper, SysWebVisit> implements SysWebVisitService {


    @Override
    public List<Map<String, Object>> getWebPVByWeek(String startTime, String endTime) {
        return baseMapper.getWebPVByWeek(startTime,endTime);
    }

    @Override
    public List<Map<String, Object>> getWebUVByWeek(String startTime, String endTime) {
        return baseMapper.getWebUVByWeek(startTime,endTime);
    }
}
